package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专家品目对象 sys_expert_category
 * 
 * @author ruoyi
 * @date 2024-07-30
 */
public class SysExpertCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 品目ID */
    private Long id;

    /** 父ID */
    @Excel(name = "父ID")
    private Long pid;

    /** 父品目名称 */
    @Excel(name = "父品目名称")
    private String pidName;

    /** 品目编码 */
    @Excel(name = "品目编码")
    private String categoryCode;

    /** 品目名称 */
    @Excel(name = "品目名称")
    private String categoryName;

    /** 品目说明 */
    @Excel(name = "品目说明")
    private String categoryDes;

    /** 排序 */
    @Excel(name = "排序")
    private Integer categorySort;

    /** 状态:1=有效,0=无效 */
    @Excel(name = "状态:1=有效,0=无效")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setCategoryCode(String categoryCode) 
    {
        this.categoryCode = categoryCode;
    }

    public String getCategoryCode() 
    {
        return categoryCode;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setCategoryDes(String categoryDes) 
    {
        this.categoryDes = categoryDes;
    }

    public String getCategoryDes() 
    {
        return categoryDes;
    }
    public void setCategorySort(Integer categorySort) 
    {
        this.categorySort = categorySort;
    }

    public Integer getCategorySort() 
    {
        return categorySort;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setPidName(String pidName){ this.pidName = pidName; }

    public String getPidName(){ return pidName; }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pid", getPid())
             .append("pidName", getPidName())
            .append("categoryCode", getCategoryCode())
            .append("categoryName", getCategoryName())
            .append("categoryDes", getCategoryDes())
            .append("categorySort", getCategorySort())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
